// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_SUPPLIER_ATTACHED
// * CreateDate    : 2014-06-05 18:30:18
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:18
// * LastChanger   : 2014-06-05 18:30:18
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstSupplierAttachedTable : TableInfo
    {
		public const string C_TableName = "MST_SUPPLIER_ATTACHED";
		
		public const string C_ID = "ID";
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_ATTACHED_TYPE = "ATTACHED_TYPE";
		public const string C_FILE_NAME = "FILE_NAME";
		public const string C_FILE_PATH = "FILE_PATH";
		public const string C_REMARK = "REMARK";
		public const string C_UPLOAD_BY = "UPLOAD_BY";
		public const string C_UPLOAD_DATE = "UPLOAD_DATE";
		public const string C_EXPIRED_DATE = "EXPIRED_DATE";
		
		public MstSupplierAttachedTable()
        {
            _tableName = "MST_SUPPLIER_ATTACHED";
        }
		
		protected static MstSupplierAttachedTable _current;
        public static MstSupplierAttachedTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstSupplierAttachedTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", false, typeof(string)));
            _current.Add(C_ATTACHED_TYPE, new ColumnInfo(C_ATTACHED_TYPE,"AttachedType", false, typeof(string)));
            _current.Add(C_FILE_NAME, new ColumnInfo(C_FILE_NAME,"FileName", false, typeof(string)));
            _current.Add(C_FILE_PATH, new ColumnInfo(C_FILE_PATH,"FilePath", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_UPLOAD_BY, new ColumnInfo(C_UPLOAD_BY,"UploadBy", false, typeof(string)));
            _current.Add(C_UPLOAD_DATE, new ColumnInfo(C_UPLOAD_DATE,"UploadDate", false, typeof(DateTime)));
            _current.Add(C_EXPIRED_DATE, new ColumnInfo(C_EXPIRED_DATE,"ExpiredDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo ATTACHED_TYPE
        {
            get { return this[C_ATTACHED_TYPE]; }
        }
		
		public ColumnInfo FILE_NAME
        {
            get { return this[C_FILE_NAME]; }
        }
		
		public ColumnInfo FILE_PATH
        {
            get { return this[C_FILE_PATH]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo UPLOAD_BY
        {
            get { return this[C_UPLOAD_BY]; }
        }
		
		public ColumnInfo UPLOAD_DATE
        {
            get { return this[C_UPLOAD_DATE]; }
        }
		
		public ColumnInfo EXPIRED_DATE
        {
            get { return this[C_EXPIRED_DATE]; }
        }
		
		
		
	}
}

